﻿using System.Web;
using System.Web.Optimization;

namespace Commerce_phuc
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css"));

            // admin
            bundles.Add(new StyleBundle("~/Content/admin/cs").Include(
                      "~/Content/admin/css/style.css",
                     "~/Content/admin/css/font-awesome.min.css",
                     "~/Content/admin/css/ionicons.min.css",
                      "~/Content/admin/css/AdminLTE.css",
                        "~/Content/admin/css/data/dataTables.bootstrap.css",
                      "~/Content/admin/css/table.css"
                     ));


            //admin
            bundles.Add(new ScriptBundle("~/Content/admin/js").Include(
                      "~/Content/admin/js/jquery-ui-1.10.3.min.js",
                      "~/Content/admin/js/AdminLTE/app.js",
                      "~/Content/admin/js/AdminLTE/data/jquery.dataTables.js",
                       "~/Content/admin/js/AdminLTE/data/dataTables.bootstrap.js",
                         "~/Content/admin/js/AdminLTE/data/Js.js",
                      "~/Content/admin/js/AdminLTE/dashboard.js"
                    ));


            // Css 
            bundles.Add(new StyleBundle("~/Content/Commerce").Include(
                    "~/Content/Commerce/Commerce.css",
                     "~/Content/Commerce/font-awesome.min.css"
                     ));

            // Js
            bundles.Add(new ScriptBundle("~/bundles/Commerce").Include(
                      "~/Scripts/ScriptBundle/Commerce.js",
                      "~/Scripts/respond.js"

                      ));



        }
    }
}
